package com.bbj.ch6_ploymorphic;

/**
 * Created with IntelliJ IDEA.
 *
 * @Author: jack_yang
 * @Date: 2024/4/29
 * @Description: addition and subtraction
 */
public class Cat extends Pet {
    public void eat()
    {
        System.out.println("吃鱼");
    }

    public void playBall()
    {
        System.out.println("玩球");
    }

}
